<template>
  <div id="nav">
      <img src="../../assets/logo.png"><br>
      <router-link to="/">主页</router-link>
      <router-link to="/about">关于</router-link>
  </div>
  <router-view />
</template>

<script>
export default {

}
</script>

<style lang="scss">
#app {
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -mos-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
}

#nav {
    padding: 30px;
    a {
        font-weight: bold;
        color: #2c3e50;
        
        &.router-link-exact-active {
            color: #42b983;
        }
    }
}
</style>